﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Maubot.Modeling;

namespace Maubot.Behavoir
{
    public class BehavoirModule
    {        
        private Position TargetPosition { get; set; }
        private Pose CurrentPose { get; set; }

        public BehavoirModule(Pose currentPose, Position target)
        {
            this.CurrentPose = currentPose;
            this.TargetPosition = target;
        }

        public void Execute()
        {
        }

        internal void OnHitRobot()
        {
            TargetPosition.X = 0;
            TargetPosition.Y = 0;
        }

        internal void OnMouseClicked(int x, int y)
        {
            TargetPosition.X = x;
            TargetPosition.Y = y;
        }
    }
}
